home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / TAWUG / TAWUG Disk No. 69 (SHK) / TAWUG69.shk / MACRO.GLOSSARY (.txt) < prev    next >
AppleWorks Document  |  1988-05-03  |  3KB  |  53 lines

  1. O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
  2. GLOSSARY  MACROS
  3. :Here are some UltraMacro macros that you can use when you ;
  4. 9are writing a paper and want to create a word/definition 
  5. glossary for your paper.
  6. START
  7. ------------------------------------------------------------
  8. ;The following macro automatically compiles the current AWP 
  9. file.
  10. <ba-c>:<awp $0 = "Macro Compiler" : oa-esc find rtn rtn>NB!8
  11. 6Compile current file; add a <rtn> token after "NB" to >
  12. <automatically execute the first macro in the new set; the N :
  13. 8and B at the end select the "No pause" and compile from 6
  14. 4"Beginning" options in the "Macro Compiler" TimeOut 
  15. application
  16. ------------------------------------------------------------
  17. MACRO   # 1
  18. :This one will copy the word and any text around it to the <
  19. :bottom of the file, where it will allow you to modify the >
  20. <definition (Don't use a carriage Return until you are ready /
  21. to return - to your text where you left off).
  22.     {Put the cursor Somewhere on your keyword}
  23. G:<awp><oa-Right><oa-left><oa-: :
  24. {Capatilizes the keyword} 
  25. oa-Right><insert>-<spc><oa-left><oa-left :1
  26. {inserts a hyphen then returns to the key word}
  27. oa-C>T<input><Rtn : oa-; : oa-Right :sa-Del : sa-Del :;
  28. {Allows transfer of text with the keyword to end of file}
  29. oa-9><Rtn : oa-M>F<Rtn :0
  30. {Moves the marked text to the end of the file}
  31. oa-F>T<oa-Y><input><Rtn : Rtn :>
  32. <{By typing in the last few words of the moved text you will ;
  33. later return to the point at which you departed the text}
  34. input><Rtn : Del: Del : oa-1><oa-F>T<Rtn>N!6
  35. 4{Not using the Return Key, Make any changes to your ?
  36. =definition NOW  -  Hit the Return Key to return to the point "
  37. at which you left your document}
  38. ------------------------------------------------------------
  39. MACRO   # 2
  40. ;{If you would rather do the glossary all at one time, this <
  41. :one will mark words in your paper so that you may compile 
  42. the glossary later}
  43. ~:<awp><insert><oa-Right><oa-left><sa-.>~!
  44. ------------------------------------------------------------
  45. MACRO  # 3
  46. 9This macro finds those words you marked for inclusion in <
  47. :your Glossary.  It will then do what is described in sa-G 
  48. above.
  49. <<ba-G>:<awp><zoom : oa-Z : oa-1><oa-F>T<oa-Y>~<Rtn>N<oa-Z : 
  50. sa-del><left><sa-G>!:
  51. 8{Remove the ~ and then does a <sa-G>  --  if no  ~  are =
  52. found this macro will start to do the top line of document}
  53.